import axios from '@/axios'
// 获取管理员列表
export const getGoodsCommentListAPI = (page, params) => {
  return axios.get(`/admin/goods_comment/${page}`, { params })
}

// 修改管理员状态

export const updateGoodsCommentStatusAPI = (id, status) => {
  return axios.post(`/admin/goods_comment/${id}/update_status`, {
    status,
  })
}
export const reviewGoodsCommentAPI = (id, data) => {
  return axios.post(`/admin/goods_comment/review/${id}`, {
    data,
  })
}
